
"""选择排序"""
lis = [3, 4, 6, 2, 9, 1, 0, 7, 5, 8]
for i in range(len(lis)):
    for j in range(i, len(lis)):
        if lis[i] > lis[j]:
            lis[i], lis[j] = lis[j], lis[i]
print('lis的选择排序法：',lis)
